﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DotNetNuke.Entities.Modules;

namespace News
{
    public class CDControlBase : PortalModuleBase
    {
        private CDDataContextDataContext dbContext = null;

        public CDDataContextDataContext DbContext
        {
            get
            {
                if (dbContext == null)
                {
                    dbContext = new CDDataContextDataContext();
                }
                return dbContext;
            }

        }




    }
}
